package base.day03;

import java.util.Scanner;

public class operator {
    public static void main(String[] args) {
        int i=10;
        char j='A';
        String str="abc";
        System.out.println(i+j);
        System.out.println(i+str);
        System.out.println(j+str);
        System.out.println("----------------------------------");

        Scanner sc=new Scanner(System.in);
        System.out.println("请输入要拆分的三位数：");
        int number=sc.nextInt();
        int gw=number%10;
        int sw=number/10%10;
        int bw=number/100%10;
        System.out.println("个位："+gw);
        System.out.println("十位："+sw);
        System.out.println("百位："+bw);


    }
}
